package com.sinosoft.msf.base.supplier.pojo.query;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class Sap001Vo {

    @JSONField(name = "header")
    private HeaderDTO header;
    @JSONField(name = "body")
    private BodyDTO body;

    @NoArgsConstructor
    @Data
    public static class HeaderDTO {
        @JSONField(name = "seriaNo")
        private String seriaNo;
        @JSONField(name = "transCode")
        private String transCode;
        @JSONField(name = "transDate")
        private String transDate;
        @JSONField(name = "transTime")
        private String transTime;
        @JSONField(name = "sysCode")
        private String sysCode;
    }

    @NoArgsConstructor
    @Data
    public static class BodyDTO {
        @JSONField(name = "queryType")
        private String queryType;
        @JSONField(name = "userId")
        private String userId;
    }
}
